//
//  ZTabBar.h
//  Zlottery
//
//  Created by HuaYingJiTuan on 16/1/8.
//  Copyright © 2016年 张庆庆. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZTabBarButton.h"

@class ZTabBar;

@protocol ZTabBarDelegate <NSObject>

- (void)tabBarDidClickedBtn:(ZTabBar *)tabBar fromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex;

@end

@interface ZTabBar : UIView
- (void)addTabBarItem:(NSString *)imgName selectedImgName:(NSString *)selectedImgName;
@property (nonatomic, weak) id<ZTabBarDelegate> delegate;
@end
